|
|
|
|
SwitchedEventHandler Delegate |
Represents the method that will handle the Switched event.
Syntax SftTabs Class (Softelvdm.SftTabsNET)
VB |
Public Delegate Sub SwitchedEventHandler( _ |
C# |
public delegate void SwitchedEventHandler( |
C++ |
public: delegate void SwitchedEventHandler( |
e
An EventArgs that contains the event data.
sender
The source of the event.
The declaration of your Switched event handler must have the same parameters as the SwitchedEventHandler delegate declaration.
Comments
The SwitchedEventHandler delegate represents the method that will handle the Switched event.
A SwitchedEventHandler delegate is created by an application to identify the method that will handle the Switched event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about handling events with delegates, see Handling and Raising Events (.NET Documentation).